package com.atguigu.gulimall.order.feign;

import com.atguigu.common.utils.R;
import com.atguigu.gulimall.order.feign.fallback.CartFeignServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @Description
 * @Author lhj
 * @Date 2024/5/1 22:53
 */
@FeignClient(name = "gulimall-cart", contextId = "CartFeignService", fallback = CartFeignServiceFallback.class)
public interface CartFeignService {

    /**
     * 获取选中的购物车
     * @return
     */
    @GetMapping("/getCheckCartItem")
    R getCheckCatItem() ;
    
}
